package TeamSkill;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface TeamSkillMapper {
	List<TeamSkillItem> selectAll();
	Integer selectBySkillId(int skill_id);
	TeamSkillItem selectById(@Param("team_id") int team_id,@Param("skill_id") int skill_id);
	List<TeamSkillItem> selectTeam(int team_id);
	
	void insert(TeamSkillItem item);
	void delete(int team_id);
	List<TeamSkillItem> selectBySkill(@Param("skill_id") String skill_id,@Param("pg") int pg);
	int selectCount(String skill_id);
}
